<#include "../common/_layout.html"/>
<@layout>

<div class="am-g">
    <div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">
        <form class="am-form" action="${CONTEXT_PATH}/tower/save" method="post">
            <fieldset>
                <legend>现场清查</legend>

                <div class="am-form-group">
                    <label>物理站点名称</label>
                     <input  type='text'  name='tower.name' value='${(tower.name)!}' />
                </div>
                <div class="am-form-group">
                    <label>运营商</label>
                    <label class="am-radio-inline">
                        <input type="radio"  value="移动" name="tower.owner" checked> 移动
                    </label>
                    <label class="am-radio-inline">
                        <input type="radio"  value="联通" name="tower.owner"> 联通
                    </label>
                    <label class="am-radio-inline">
                        <input type="radio"  value="电信" name="tower.owner" > 电信
                    </label>
                </div>

                <div class="am-form-group">
                    <label>区县</label>
                    <select name="tower.home_county">
                        <option value="东山县">东山县</option>
                        <option value="云霄县">云霄县</option>
                        <option value="华安县">华安县</option>
                        <option value="南靖县">南靖县</option>
                        <option value="平和县">平和县</option>
                        <option value="漳浦县">漳浦县</option>
                        <option value="芗城区">芗城区</option>
                        <option value="诏安县">诏安县</option>
                        <option value="长泰县">长泰县</option>
                        <option value="龙文区">龙文区</option>
                        <option value="龙海市">龙海市</option>
                    </select>
                    <span class="am-form-caret"></span>
                </div>
                <div class="am-form-group">
                    <label>所在地址</label>
                    <input type='text' name='tower.addr' value='${(tower.addr)!}'  />
                </div>

                <div class="am-form-group">
                    <label>经度</label>
                    <input type='text' name='tower.longitude' value='${(tower.longitude)!}'/>
                </div>
                <div class="am-form-group">
                    <label>纬度</label>
                    <input type='text' name='tower.latitude' value='${(tower.latitude)!}' />
                </div>

                <div class="am-form-group">
                    <label>产权性质</label>
                    <label class="am-radio-inline">
                        <input type="radio"  value="自有" name="tower.property" > 自有
                    </label>
                    <label class="am-radio-inline">
                        <input type="radio"  value="租赁" name="tower.property"> 租赁
                    </label>
                    <label class="am-radio-inline">
                        <input type="radio"  value="其他" name="tower.property" > 其他
                    </label>
                </div>
                <div class="am-form-group">
                    <label>是否现场清查</label>
                    <label class="am-radio-inline">
                        <input type='radio'  value='是' name='tower.status' <#if (tower.status)?? && tower.status=='是'> checked='checked'</#if>> 是
                    </label>
                    <label class="am-radio-inline">
                        <input type='radio'  value='否' name='tower.status' <#if (tower.status)?? && tower.status=='否'> checked='checked'</#if>> 否
                    </label>

                </div>
                <div class="am-form-group">
                    <label>存在问题</label>
                    <textarea name='tower.memo' rows='5'>${(tower.memo)!}</textarea>
                </div>

                <div class="am-form-group">
                    <label>核查时间</label>
                    <input type='text' name='tower.modifyDate' value='${.now}'  />
                    <input type='hidden' name='tower.id' value='${(tower.id)!}'  />
                </div>
                <div class="am-form-group">
                    <label>核查人</label>
                    <input  type='text'  name='tower.operator' value='${(tower.operator)!}' />
                </div>
                <p><button type="submit" class="am-btn am-btn-default">提交</button></p>
            </fieldset>
        </form>


    </div>
</div>
</@layout>
